package com.lyl.syt.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lyl.syt.model.order.OrderInfo;
import com.lyl.syt.vo.order.OrderCountQueryVo;
import com.lyl.syt.vo.order.OrderQueryVo;

import java.util.Map;

public interface OrderService extends IService<OrderInfo> {
    Long saveOrder(String scheduleId, Long patientId);

    IPage<OrderInfo> selectPage(Page<OrderInfo> pageParam, OrderQueryVo queryVo);

    OrderInfo getOrder(String orderId);

    Map<String,Object> show(Long id);

    boolean cancelOrder(Long orderId);

    /**
     * 就医提醒
     */
    void patientTips();

    Map<String,Object> getCountMap(OrderCountQueryVo queryVo);
}
